Platform Explorer / Nuxeo Platform 2021.7

Component org.nuxeo.ecm.core.opencmis.impl.server.versioning

Requirements

Resolution Order

227
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.core.opencmis.impl.server.versioning" version="1.0">

  <require>org.nuxeo.ecm.core.versioning.default-policies</require>

  <extension target="org.nuxeo.ecm.core.api.versioning.VersioningService" point="policies">
    <!-- Range [1, 10] for order is reserved for Nuxeo System Policies-->
    <!-- See https://doc.nuxeo.com/nxdoc/versioning/#-anchor-versioning-policies-versioning-policies-and-filters -->
    <policy id="no-versioning-for-cmis-before-update" beforeUpdate="true" increment="NONE" order="2">
      <filter-id>cmis-document</filter-id>
    </policy>
    <policy id="no-versioning-for-cmis-after-update" increment="NONE" order="2">
      <filter-id>cmis-document</filter-id>
    </policy>
  </extension>

  <extension target="org.nuxeo.ecm.core.api.versioning.VersioningService" point="filters">
    <filter id="cmis-document" class="org.nuxeo.ecm.core.opencmis.impl.server.versioning.CMISVersioningFilter" />
  </extension>

</component>